home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-21 / qwhite.zip / WIN-TRBL.TEC < prev    next >
Text File  |  1992-03-13  |  15KB  |  268 lines

  1. ID:WT Windows 3/QEMM386 Troubleshooting
  2. Quarterdeck Technical Note #179
  3. by Stan Young
  4.  
  5.      QEMM-386 version 5.10 and above supports Windows 3.0 in all of its 
  6. processing modes:  Real, Standard and 386 Enhanced.
  7.      The QEMM-386 upgrade booklet gives some specific instructions for the set 
  8. up of QEMM-386 to ensure Windows compatibility.  Most users who follow these 
  9. instructions should find that Windows 3.0 will operate correctly with QEMM-386 
  10. in all three modes.  For the most part, we have not seen problems which relate 
  11. to QEMM-386 setup when running in Real or Standard modes.
  12.      However, due to the broad range of hardware and software which may be 
  13. combined in some systems, we have seen configurations which have experienced 
  14. various problems when trying to run Windows 3.0 in 386 Enhanced mode.  
  15.      These problems include failure of Windows to start up in Enhanced mode, 
  16. system crashes when exiting Windows in Enhanced mode, and in some cases 
  17. problems while running Windows which do not occur when you are not loading 
  18. QEMM-386.
  19.  
  20. IF WINDOWS 3.0 WILL NOT START IN ENHANCED MODE OR CRASHES ON EXIT
  21.  
  22. Initial Checklist:
  23.  
  24.      The first thing to do if you are having trouble starting Windows 3.0 in 
  25. Enhanced mode, or upon exit from Windows, is to check your system to be sure 
  26. that it has been set up as suggested in the QEMM 5.1 Upgrade Booklet.  
  27. Following are some items that are important to Enhanced mode operations:
  28.      
  29.      1.  Be sure the statement which loads QEMM-386 in your CONFIG.SYS file is 
  30.      using the "RAM" parameter or that if you are not using the RAM parameter, 
  31.      you should use "X=B000-B7FF" to exclude QEMM's use of the monochrome 
  32.      video area.  Additional information on this is given in the Upgrade 
  33.      Booklet on page 4.
  34.  
  35.      2.  If you are running on a machine which has different speeds of memory, 
  36.      you will need to use the NOSORT (NS) parameter.  If you are running on a 
  37.      machine which would normally have less than 640K of conventional memory 
  38.      and where QEMM-386 is filling the memory to 640K, you must use the NOFILL 
  39.      (NO) parameter.  In both these cases, QEMM-386 cannot support these 
  40.      features while Windows 3.0 is in Enhanced mode.  This is because QEMM-386 
  41.      must be in an "ON" state to manage sorted memory and memory filling.  
  42.      Windows turns QEMM-386 off when it starts up in Enhanced mode.  QEMM-386 
  43.      does not have to be turned off when Windows is in Real or Standard modes, 
  44.      therefore machines that require these features could run in those modes.  
  45.      If you are not sure whether your machine has differing speeds of memory 
  46.      or has 640K of conventional memory, try the parameters anyway.  They will 
  47.      have no negative effect if they don't apply.
  48.  
  49.      3.  If you are running QEMM-386 version 5.10 instead of 5.11 or later and 
  50.      you have a machine, such as a PS/2 or microchannel compatible, which has 
  51.      an extended BIOS data area, you must use the NOXBDA (NX) parameter so 
  52.      that the extended BIOS data area will not be moved.  QEMM-386 version 
  53.      5.11 and later do not require this parameter, and if you are a registered 
  54.      owner of QEMM 5.10 you may obtain an update at no charge to version 5.11 
  55.      by sending a request for the update to Quarterdeck along with your 
  56.      registered serial number.  If you have not yet registered, you may 
  57.      request the update when you send in your registration card. Also, if you 
  58.      are getting paging errors from Windows, an upgrade to 5.11 may be 
  59.      necessary.  You can find out what version of QEMM you have, by running 
  60.      the program "QEMMREG", which is loaded in your QEMM directory.
  61.  
  62.      4.  If you have an XGA card, you will need to either a) edit your Windows 
  63.      SYSTEM.INI file and replace the line
  64.  
  65.           Display=XGAVDD.386
  66.  
  67.      with the line
  68.  
  69.           Display=*VDDVGA
  70.  
  71.      or else use the QEMM EXCLUDE parameter to exclude the first 4K of the 32K 
  72.      region (on a 32K boundary) in which the XGA ROM is located in the 640K-
  73.      1024K area.  For more information, you should obtain Quarterdeck technote 
  74.      #208, "XGA Video and Quarterdeck Products."
  75.  
  76.      5.  If you are using QEMM-386 version 6.0 or above with the "Stealth" 
  77.      feature, be sure you have the statement "SystemROMBreakPoint=false" in 
  78.      the SYSTEM.INI file in your Windows directory.  The QEMM INSTALL program 
  79.      puts this statement in the file automatically, so if you have a question 
  80.      about whether or not the statement is there, simply reinstall QEMM-386.
  81.  
  82. PROBLEMS OR CRASHES WHILE RUNNING WINDOWS IN ENHANCED MODE
  83.  
  84.      Problems or crashes which occur while running Windows 3.0 in Enhanced 
  85. mode are typically not the fault of QEMM-386, because while Windows is in 
  86. Enhanced mode, QEMM is completely disabled. In that state, QEMM-386 can 
  87. neither cause problems or prevent them if they occur.  However there may be 
  88. changes to the system which QEMM-386 has made before being disabled which may 
  89. later cause problems for Windows.  If you encounter problems while running 
  90. Windows, you should naturally consult with Microsoft Technical Support to see 
  91. if they have a solution to the problem.
  92.      If you suspect that QEMM-386 is somehow involved, try disabling QEMM 
  93. entirely (by putting the word "REM" before the line which loads the 
  94. QEMM386.SYS driver in your CONFIG.SYS).  Leave all other resident programs or 
  95. drivers installed and see if the problem persists.  If it does, then the 
  96. problem is not related to QEMM.  If removing QEMM seems to correct the 
  97. problem, restore QEMM and then try undoing some of the changes that QEMM has 
  98. made.
  99.  
  100.      For instance, try loading QEMM, but do not load any of your resident 
  101. programs into high RAM.  Also, if you are using FILES.COM or BUFFERS.COM, try 
  102. loading normal files and buffers. By the way, Windows 3.0 seems to require a 
  103. minimum of at least 25 file handles, so if you are allocating fewer than 25, 
  104. increase the number.
  105.  
  106. WINDOWS 386 ENHANCED MODE CONFLICTS WITH OTHER SOFTWARE AND HARDWARE
  107.  
  108.      Windows 386 Enhanced mode may have conflicts with certain types of 
  109. hardware or software which are not related to QEMM-386.  These problems are 
  110. best addressed by consulting with Microsoft or the manufacturers of the 
  111. problem hardware or software.  However, here are some of the areas where there 
  112. might be conflicts:
  113.  
  114.  
  115.      1.  NETWORKS
  116.  
  117.      Windows 3.0 currently supports ONLY the following networks:
  118.  
  119.      LAN Manager v1.0 or 100% compatibles
  120.      LAN Manager v2.0 Basic or 100% compatibles
  121.      LAN Manager v2.0 Enhanced or 100% compatibles
  122.      Microsoft Network or 100% compatibles
  123.      Novell Netware v2.1 or Netware 386*
  124.  
  125.      *Note: Use with Netware requires that you use 3.01 of the IPX and NETx 
  126.      software.  Contact Novell for this.
  127.  
  128.           If your LAN is not one of the above or a compatible, then it probably 
  129.      will not work properly with Windows.  Even if it is one of the above, 
  130.      there may be problems you may have to discuss with Microsoft or your LAN 
  131.      vendor.  Network support has been one of the problem areas of the initial 
  132.      release of Windows 3.0.
  133.  
  134.      2.  EXPANDED MEMORY TSRs
  135.  
  136.           If you are using TSRs before Windows which use expanded memory (disk 
  137.      caches, network drivers, ram disks or pop-up programs which swap 
  138.      themselves to expanded memory), these may not be compatible with Windows 
  139.      3.0.  Microsoft publishes a document for software developers that lists a 
  140.      number of EMS functions which may not be exercised by programs that are 
  141.      resident before Windows.  In the past, some of these operations have been 
  142.      fairly commonplace, which may indicate that many TSRs that use expanded 
  143.      memory will be incompatible with Windows 3.0 -- at least in the enhanced 
  144.      mode.  If you encounter problems running TSRs that use expanded memory 
  145.      before Windows 3.0, you should contact the manufacturer of the TSR to see 
  146.      if the EMS functions they use meet the limitations as outlined by 
  147.      Microsoft.
  148.  
  149.      3.  BUS-MASTERING DEVICES
  150.  
  151.           Bus-mastering devices are ones which do their own direct memory 
  152.      addressing (DMA).  DMA is done without going through the machine's 
  153.      processor.  The most common bus-mastering devices we see currently are 
  154.      SCSI hard disk controllers, but technically, other types of devices could 
  155.      be bus-mastering as well.  
  156.           The problem with these devices is that they put data into absolute 
  157.      memory addresses and assume that the contents of those memory addresses 
  158.      will always remain constant.  However, when running Windows 3.0 in 
  159.      enhanced mode, this can often be an incorrect assumption.  In Enhanced 
  160.      mode, the same physical memory addresses can at any given moment hold 
  161.      different data, depending on which virtual machine is current.
  162.           Windows has a solution for this problem:  SMARTDRV.SYS.  If you have 
  163.      a bus-mastering device, and no VDS driver (see next paragraph), you must 
  164.      load SMARTDRV.SYS, and load it LOW.  You cannot use the switch "/B-" on 
  165.      SMARTDRV.SYS, because it defeats this feature.
  166.           A better solution is to obtain a driver from the manufacturer of the 
  167.      device which meets the VDS (Virtual DMA Services) specification.  With 
  168.      such a driver, Windows 3.0 should be able to operate with your bus-
  169.      mastering device without loading SMARTDRV.SYS low.
  170.           When you are not running Windows 3.0 in Enhanced mode, QEMM-386's 
  171.      DISKBUF (DB) parameter can be used to work around these problems.  But 
  172.      again, since QEMM-386 must be disabled when Windows Enhanced mode is 
  173.      active, the DISKBUF parameter will have no effect.  SMARTDRV.SYS provides 
  174.      the same service for Windows in Enhanced mode that the DB parameter of 
  175.      QEMM-386 provides outside of Windows.
  176.  
  177. IF WINDOWS RUNS SLOWLY IN ENHANCED MODE:
  178.  
  179.      A full hard disk will probably impair Windows' paging ability and reduce 
  180. the size and number of programs you can run in Windows. This symptom may look 
  181. more pronounced with QEMM present.  If your operations in Windows seem to be 
  182. slower than they were previously or you find yourself running out of memory, 
  183. check to be sure you have plenty of free disk space.  This should be at least 
  184. 2MB (preferably more) on the drive that is pointed to by the TEMP environment 
  185. variable.  Speed may also be affected by fragmentation of your hard drive.  In 
  186. these cases, setting up a permanent Windows swap file, as outlined on page 522 
  187. of the Windows manual, might be useful.
  188.  
  189. IF THE PRECEDING SUGGESTIONS FAIL:
  190.  
  191.      In particularly difficult cases, getting Windows 3.0 to run in Enhanced 
  192. mode, here are some things to check and try:
  193.  
  194.      1.  If the system has Shadow RAM, try QEMM-386's NOSHADOWRAM (NOSH) 
  195.      parameter.  If you are not sure, try it anyway.  The parameter will have 
  196.      no harmful effect if your system does not have Shadow RAM.  2.  If, when 
  197.      starting Windows enhanced, you get a bunch of garbage on the display and 
  198.      beeping, and Windows goes back to the DOS prompt, check to see that there 
  199.      is a file called WINHIRAM.VXD in the QEMM directory, on your hard disk.  
  200.      Be sure also that this file is identical to the one on the disk that 
  201.      contains the version of QEMM that you are currently running. Versions of 
  202.      this file may be specific to the QEMM-386 version with which they 
  203.      shipped.
  204.  
  205.      2.  Run the Windows SETUP program from the DOS prompt (not the Setup 
  206.      which runs inside of Windows) and be sure you have properly identified 
  207.      your machine to Windows.  The default SETUP selection specifies "MS-DOS 
  208.      or PC-DOS System," and many users may tend to take this option.  However, 
  209.      Windows provides specific setups for many common PC compatibles like AST, 
  210.      NCR, NEC, Toshiba, Everex, and Hewlett-Packard.  Check this list if you 
  211.      are having problems. If your machine is on the list, use that selection.
  212.  
  213.      3.  Windows Enhanced mode may not like an EMS Page Frame at 9000. Check 
  214.      the location of the frame by running QEMM.COM.  If the frame is at 9000, 
  215.      see if you can move it somewhere between C000 and E000.  If 9000 was the 
  216.      default selected by QEMM, you may have to relocate installed hardware 
  217.      boards to free up a contiguous 64K memory block in high memory.  Be 
  218.      careful you are not forcing the Page Frame over an installed device, or 
  219.      you will also have problems.  If you have a Page Frame at 9000, problems 
  220.      are likely to show up when running DOS programs that use expanded memory 
  221.      in Windows 3.0 .  
  222.  
  223.      4.  If you are running QEMM-386 v5.10 and have trouble running Novell's 
  224.      XMSNET, or anything that uses the XMS memory before Windows enhanced, get 
  225.      the update to QEMM-386 v5.11.
  226.  
  227.      5.  In some cases the following modifications to the Windows 3.0 
  228.      SYSTEM.INI file, which can be found in the WIN directory, have proven to 
  229.      solve problems.  Edit the file with a text editor (Windows Notepad will 
  230.      do) and following the line that says "[386Enh]", add a line which says 
  231.      "DualDisplay=True", followed by a line which says "EMMExclude=E000-FFFF". 
  232.       
  233.      6.  The preceding suggestion should eliminate conflicts where Windows 
  234.      gets confused by our use of available memory areas in the F000-FFFF 
  235.      memory range.  However, if you try it and still have problems, try using 
  236.      the X=F000-FFFF parameter to exclude any QEMM mapping in the F000-FFFF 
  237.      area.
  238.  
  239.      7.  Some users have reported that they don't get print options inside 
  240.      Windows.  If you are having this problem, either remove the SET TEMP= 
  241.      environment variable that the Windows Setup program puts in your 
  242.      AUTOEXEC.BAT file, or make sure that the directory that it is pointing to 
  243.      actually exists and that there is space on the drive specified.  
  244.  
  245.      8.  For problems running Windows standard or Windows real problems in DV, 
  246.      try changing our DVP's to load WIN /R or WIN /S instead of 
  247.      SYSTEM\KERNEL.EXE or SYSTEM\DOSX.EXE.
  248.  
  249.      9.  The Windows 3.0 manual states (page 517) that you should set 
  250.      FILES=30 in your CONFIG.SYS file.  It is possible to use QEMM's FILES.COM 
  251.      program to load some of these files into high memory. However, we 
  252.      recommend having at least FILES=15 in your CONFIG.SYS file and loading 
  253.      the rest of your files with FILES.COM.  Windows may refuse to come up in 
  254.      Enhanced mode if you have no FILES statement in your CONFIG, or if it is 
  255.      below 15.
  256.  
  257. FOR REFERENCE:
  258.  
  259.      Microsoft Technical Support - (206)454-2030
  260.      Novell Technical Support - (800)526-7937
  261.  
  262.  
  263.   ************************************************************************
  264.   *This technical note may be copied and distributed freely as long as it*
  265.   *is distributed in its entirety and it is not distributed for profit.  *
  266.   *         Copyright (C) 1991-2 by Quarterdeck Office Systems           *
  267.   ************************ E N D   O F   F I L E *************************
  268.